package com.settlement.system.service;

import com.settlement.system.common.exception.ServiceException;
import com.settlement.system.model.entity.common.TblWpStoreConfig;
import org.springframework.cache.annotation.Cacheable;

/**
 * WP-仓库配置 服务类
 * @author xiaochuan
 * @since 2020-11-18
 */

public interface ITblWpStoreConfigService extends IBaseService {

    /**
     * getByStoreName
     * @param storeName
     * @return
     * @throws ServiceException
     */
    @Cacheable("wpStoreConfigByStoreName")
    TblWpStoreConfig getByStoreName(String storeName) throws ServiceException;
}

